from dc_shop.core.models.dto.bot_settings import BotSettingsDTO
from dc_shop.database.models import BotSettings


def convert_db_model_to_bot_settings_dto(bot_settings: BotSettings) -> BotSettingsDTO:
    return BotSettingsDTO(
        is_bot_enabled=bot_settings.is_bot_enabled, bot_disabled_until=bot_settings.bot_disabled_until
    )
